function OpenAbilitiesShop() {
    GameEvents.SendEventClientSide("toggle_abilities_shop",{})
}

function OpenAbilitiesPool() {
    GameEvents.SendEventClientSide("toggle_abilities_pool",{})
}


(function(Global /*, context */) {
    // Global.Panel.topBarAbilitiesShop=$("#TopBarAbilitiesShop");
    // Global.Panel.topBarAbilitiesPool=$("#TopBarAbilitiesPool");


function SetData(data){
    $("#GoldCount").text=data.gold;
    $("#KillInfo").text=data.kills+"/"+data.deaths;
}




$.GetContextPanel().SetData=SetData;
Global.Panel.topBar=$.GetContextPanel();

})(GameUI.CustomUIConfig(), this);